package com.hwj.service;

import com.github.pagehelper.PageInfo;
import com.hwj.entity.Permission;

public interface PermissionService {
    Permission selectByPrimaryKey(Long id);

    PageInfo<Permission> page(Permission permission,Integer pageSize,Integer pageNum);

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

}
